﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IDAL
{
    public interface IHRMIndividualDevPlanDAL
    {
        IList<PositionInfo> LoadPositionTreeView(Nullable<int> EmpTypeSeq);
        IList<TreeViewInfo> LoadPositionJobsites(Nullable<int> EmpTypeSeq, string ParentID);

        void Insert(string strPosSeq, int? intCoreCompentencyTypeSeq, int? intProficiencySeq, int? intExpectResult, int? intCreateBy);
        DataTable Search(int? intCoreCompentencyTypeSeq, int? intProficiencySeq, int? intExpectResult, string strPosSeq);
        void Update(int? intIndividualSeq, int? intCoreCompentencyTypeSeq, int? intProficiencySeq, int? intExpectResult
                    , int? intCreateBy);
        void Delete(int? intIndividualSeq);
        DataTable LoadCoreCompetencyType();
        DataTable LoadProficiency(int? intCoreCompentencyTypeSeq);
        bool CheckValueSubmit(int? intIndividualSeq);
        bool CheckUnique(string strPosSeq, int? intCoreCompentencyTypeSeq);
        string LoadNamePos(string strPosSeq);
    }
}